import {axios} from '@/utils/request'

export function getAction(url, parameter) {
  console.log(url)
  console.log(parameter)
  return axios({
    url: url,
    method: 'get',
    params: parameter
  })
}

export function postAction(url, parameter) {
  return axios({
    url: url,
    method: 'post',
    data: parameter
  })
}
